package com.smart.lib.mapper;

import com.smart.lib.entity.BookCategoryInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 图书分类管理方法接口
 * */
@Mapper
public interface BookCategoryMapper {
    /**
     * 获取所有图书分类信息
     * */
    public List<BookCategoryInfo> getAllBookCategory();

    /**
     * 添加图书分类
     * */
    public Integer addBookCategory(BookCategoryInfo bookCategoryInfo);

    /**
     * 编辑图书分类
     * */
    public Integer editBookCategory(BookCategoryInfo bookCategoryInfo);
}
